Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / core / ui / src / commonMain / kotlin / org / meshtastic / core / ui / component / MeshtasticAppShell.kt

Displaying Raw • Download

core/ui/src/commonMain/kotlin/org/meshtastic/core/ui/component/MeshtasticAppShell.kt 520fa717a938fd84682403b41f57d9f7e1ef49ef (520fa717) Text, 2.11 KB

T8b949e/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.ui.component

Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787androidx.compose.runtime.LaunchedEffect
Tff7b72import T7ee787androidx.compose.ui.Modifier
Tff7b72import T7ee787org.meshtastic.core.navigation.MultiBackstack
Tff7b72import T7ee787org.meshtastic.core.navigation.NodeDetailRoute
Tff7b72import T7ee787org.meshtastic.core.ui.viewmodel.UIViewModel

T8b949e/**
* Shared shell for setting up global UI logic across platforms (Android, Desktop).
*
* This component handles deep linking, shared dialogs (via [MeshtasticCommonAppSetup]), and provides the global
* [MeshtasticSnackbarProvider]. Platform entry points should wrap their navigation layout inside this shell.
*/
Tf0883e@Composable
Tff7b72fun Td2a8ffMeshtasticAppShellTb4b4b4(
Te6edf3multiBackstackTb4b4b4: Te6edf3MultiBackstackTb4b4b4,
Te6edf3uiViewModelTb4b4b4: Te6edf3UIViewModelTb4b4b4,
Te6edf3hostModifierTb4b4b4: Te6edf3Modifier Tff7b72= Te6edf3ModifierTb4b4b4,
Te6edf3contentTb4b4b4: Tf0883e@Composable Tb4b4b4(Tb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4,
Tb4b4b4) Tb4b4b4{
Te6edf3LaunchedEffectTb4b4b4(Te6edf3uiViewModelTb4b4b4) Tb4b4b4{
Te6edf3uiViewModelTb4b4b4.Te6edf3navigationDeepLinkTb4b4b4.Te6edf3collect Tb4b4b4{ Te6edf3navKeys Tff7b72-Tff7b72> Te6edf3multiBackstackTb4b4b4.Te6edf3handleDeepLinkTb4b4b4(Te6edf3navKeysTb4b4b4) Tb4b4b4}
Tb4b4b4}

Te6edf3MeshtasticCommonAppSetupTb4b4b4(
Te6edf3uiViewModel Tff7b72= Te6edf3uiViewModelTb4b4b4,
Te6edf3onNavigateToTracerouteMap Tff7b72= Tb4b4b4{ Te6edf3destNumTb4b4b4, Te6edf3requestIdTb4b4b4, Te6edf3logUuid Tff7b72-Tff7b72>
Te6edf3multiBackstackTb4b4b4.Te6edf3activeBackStackTb4b4b4.Te6edf3addTb4b4b4(
Te6edf3NodeDetailRouteTb4b4b4.Te6edf3TracerouteMapTb4b4b4(Te6edf3destNum Tff7b72= Te6edf3destNumTb4b4b4, Te6edf3requestId Tff7b72= Te6edf3requestIdTb4b4b4, Te6edf3logUuid Tff7b72= Te6edf3logUuidTb4b4b4)Tb4b4b4,
Tb4b4b4)
Tb4b4b4}Tb4b4b4,
Tb4b4b4)

Te6edf3MeshtasticSnackbarProviderTb4b4b4(Te6edf3snackbarManager Tff7b72= Te6edf3uiViewModelTb4b4b4.Te6edf3snackbarManagerTb4b4b4, Te6edf3hostModifier Tff7b72= Te6edf3hostModifierTb4b4b4) Tb4b4b4{ Te6edf3contentTb4b4b4(Tb4b4b4) Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s